Optimal. Leaf size=132 \[ -\frac{1}{2} i b d \text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )+d \log (x) \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d \log (x) \sin ^{-1}(c x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.238765, antiderivative size = 132, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 12, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.632, Rules used = {14, 4731, 12, 6742, 321, 216, 2326, 4625, 3717, 2190, 2279, 2391} \[ -\frac{1}{2} i b d \text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )+d \log (x) \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d \log (x) \sin ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 4731
Rule 12
Rule 6742
Rule 321
Rule 216
Rule 2326
Rule 4625
Rule 3717
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{x} \, dx &=\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c) \int \frac{e x^2+2 d \log (x)}{2 \sqrt{1-c^2 x^2}} \, dx\\ &=\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\frac{1}{2} (b c) \int \frac{e x^2+2 d \log (x)}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\frac{1}{2} (b c) \int \left (\frac{e x^2}{\sqrt{1-c^2 x^2}}+\frac{2 d \log (x)}{\sqrt{1-c^2 x^2}}\right ) \, dx\\ &=\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c d) \int \frac{\log (x)}{\sqrt{1-c^2 x^2}} \, dx-\frac{1}{2} (b c e) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)+(b d) \int \frac{\sin ^{-1}(c x)}{x} \, dx-\frac{(b e) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{4 c}\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)+(b d) \operatorname{Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(2 i b d) \operatorname{Subst}\left (\int \frac{e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b d) \operatorname{Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\frac{1}{2} (i b d) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )\\ &=\frac{b e x \sqrt{1-c^2 x^2}}{4 c}-\frac{b e \sin ^{-1}(c x)}{4 c^2}-\frac{1}{2} i b d \sin ^{-1}(c x)^2+\frac{1}{2} e x^2 \left (a+b \sin ^{-1}(c x)\right )+b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d \sin ^{-1}(c x) \log (x)+d \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\frac{1}{2} i b d \text{Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )\\ \end{align*}
Mathematica [A] time = 0.200342, size = 108, normalized size = 0.82 \[ \frac{1}{2} \left (-i b d \left (\sin ^{-1}(c x)^2+\text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )\right )+2 a d \log (x)+a e x^2+\frac{b e \left (c x \sqrt{1-c^2 x^2}-\sin ^{-1}(c x)\right )}{2 c^2}+2 b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+b e x^2 \sin ^{-1}(c x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.205, size = 177, normalized size = 1.3 \begin{align*}{\frac{a{x}^{2}e}{2}}+da\ln \left ( cx \right ) -{\frac{i}{2}}bd \left ( \arcsin \left ( cx \right ) \right ) ^{2}+{\frac{bex}{4\,c}\sqrt{-{c}^{2}{x}^{2}+1}}+{\frac{b\arcsin \left ( cx \right ){x}^{2}e}{2}}-{\frac{be\arcsin \left ( cx \right ) }{4\,{c}^{2}}}+db\arcsin \left ( cx \right ) \ln \left ( 1+icx+\sqrt{-{c}^{2}{x}^{2}+1} \right ) +db\arcsin \left ( cx \right ) \ln \left ( 1-icx-\sqrt{-{c}^{2}{x}^{2}+1} \right ) -idb{\it polylog} \left ( 2,-icx-\sqrt{-{c}^{2}{x}^{2}+1} \right ) -idb{\it polylog} \left ( 2,icx+\sqrt{-{c}^{2}{x}^{2}+1} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \, a e x^{2} + a d \log \left (x\right ) + \int \frac{{\left (b e x^{2} + b d\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a e x^{2} + a d +{\left (b e x^{2} + b d\right )} \arcsin \left (c x\right )}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{asin}{\left (c x \right )}\right ) \left (d + e x^{2}\right )}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}{\left (b \arcsin \left (c x\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]